package com.sdy.resdir.biz.model;

import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.sdy.common.model.BaseModel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.sdy.common.utils.DateUtil;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 资源申请栏（总）
 * </p>
 *
 * @author hyh
 * @since 2019-10-21
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@ApiModel(value="RdResourceApplicationAll对象", description="资源申请栏（总）")
public class RdResourceApplicationAll extends BaseModel {
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @ApiModelProperty(value = "主键")
    @TableId
    private Integer id;

    /**
     * 申请单号
     */
    @ApiModelProperty(value = "申请单号")
    private String applyNum;

    /**
     * 申请人id
     */
    @ApiModelProperty(value = "申请人id")
    private Integer applyUserId;

    /**
     * 申请时间
     */
    @ApiModelProperty(value = "申请时间")
    @JsonFormat(pattern = DateUtil.DATETIME_FORMAT)
    private Date applyTime;

    /**
     * 申请人部门id
     */
    @ApiModelProperty(value = "申请人部门id")
    private Integer applyDeptId;

    /**
     * 修改人id
     */
    @ApiModelProperty(value = "修改人id")
    private Integer modifyUserId;

    /**
     * 修改人部门id
     */
    @ApiModelProperty(value = "修改人部门id")
    private Integer modifyDepeId;

    /**
     * 修改时间
     */
    @ApiModelProperty(value = "修改时间")
    @JsonFormat(pattern = DateUtil.DATETIME_FORMAT)
    private Date modifyTime;

}
